package com.hl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 充值记录对象 recharge_records
 * 
 * @author vv
 * @date 2025-08-05
 */
public class RechargeRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 会员ID */
    private Long member1Id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderSn;
    /** 会员名字 */
    @Excel(name = "会员名字")
    private String memberName;

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    /** 充值金额 */
    @Excel(name = "充值金额")
    private Long rechargeAmount;

    /** 充值方式 */
    @Excel(name = "充值方式")
    private String rechargeMethod;

    /** 支付状态（未付款、已付款等） */
    @Excel(name = "支付状态", readConverterExp = "未=付款、已付款等")
    private String payStatus;

    /** 充值时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "充值时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rechargeTime;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setMember1Id(Long member1Id) 
    {
        this.member1Id = member1Id;
    }

    public Long getMember1Id() 
    {
        return member1Id;
    }

    public void setOrderSn(String orderSn) 
    {
        this.orderSn = orderSn;
    }

    public String getOrderSn() 
    {
        return orderSn;
    }

    public void setRechargeAmount(Long rechargeAmount) 
    {
        this.rechargeAmount = rechargeAmount;
    }

    public Long getRechargeAmount() 
    {
        return rechargeAmount;
    }

    public void setRechargeMethod(String rechargeMethod) 
    {
        this.rechargeMethod = rechargeMethod;
    }

    public String getRechargeMethod() 
    {
        return rechargeMethod;
    }

    public void setPayStatus(String payStatus) 
    {
        this.payStatus = payStatus;
    }

    public String getPayStatus() 
    {
        return payStatus;
    }

    public void setRechargeTime(Date rechargeTime) 
    {
        this.rechargeTime = rechargeTime;
    }

    public Date getRechargeTime() 
    {
        return rechargeTime;
    }

    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("member1Id", getMember1Id())
            .append("orderSn", getOrderSn())
            .append("rechargeAmount", getRechargeAmount())
            .append("rechargeMethod", getRechargeMethod())
            .append("payStatus", getPayStatus())
            .append("rechargeTime", getRechargeTime())
            .append("payTime", getPayTime())
            .toString();
    }
}
